package cn.wzy.service;

import cn.wzy.dto.RegisterDTO;
import cn.wzy.dto.WxBindDTO;
import cn.wzy.pojo.User;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (User)表服务接口
 *
 * @author makejava
 * @since 2023-02-06 16:25:41
 */
public interface UserService extends IService<User> {
    
    ResponseResult getUserPage(GoPageVo goPageVo);

    ResponseResult saveUser(User user);

    ResponseResult getUser(Long id);
    
    ResponseResult deleteUser(Long id);

    ResponseResult deleteUserList(List<Long> ids);

    ResponseResult register(RegisterDTO registerDTO);

    ResponseResult bindWechat(WxBindDTO wxBindDTO);
}

